package Test_0716;

import Test_0713.Test2;

import java.security.DigestException;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-07-16
 * Time: 13:42
 */
class Cat{
    private String name;
    private int age;
    public String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name=name;
    }
    public int getAge(){
        return this.age;
    }
    public void setAge(int age){
        this.age=age;
    }
  public void fun(){
      mew();
  }
    private void mew(){
        System.out.println("喵喵叫~");
    }
        }
public class Test_0716 {
    public static void main(String[] args) {
          Cat cat=new Cat();
          cat.setName("小白");
          cat.setAge(3);
          cat.fun();
    }
}
